package com.orhon.smartcampus.modules.baseinfo.mm;

import com.orhon.smartcampus.modules.baseinfo.entity.WeChatTemplate;
import com.orhon.smartcampus.modules.baseinfo.gqlModel.GQLWeChatTemplate;
import org.mapstruct.InheritConfiguration;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper()
public interface WeChatTemplateMapper {

    WeChatTemplateMapper MAPPER = Mappers.getMapper(WeChatTemplateMapper.class);

    GQLWeChatTemplate toWeChatTemplate(WeChatTemplate entity);
    
    
    @InheritConfiguration(name = "toWeChatTemplate")
    List<GQLWeChatTemplate> toWeChatTemplateList(List<WeChatTemplate> entities);



}
